package com.ym.b2b.product.dao;

import com.ym.b2b.product.sqlbean.EmBProductPrice;
import org.springframework.dao.DataAccessException;

import java.util.List;

/**
 * Created by Administrator on 2015/7/22.
 */
public interface EmBProductPriceDao {
    /**
     * @Title: deleteEmBProductPrice
     * @Description: 删除
     */
    void deleteEmBProductPrice(EmBProductPrice emBProductPrice) throws DataAccessException;

    /**
     * @Title: insertEmBProduct
     * @Description: 新增
     */
    public void insertEmBProductPrice(EmBProductPrice emBProductPrice) throws DataAccessException;


    /**
     * @Title: insertEmBProduct
     * @Description: 更新
     */
    public void updateEmBProductPrice(EmBProductPrice emBProductPrice) throws DataAccessException;

    /**
     * @Title: searchEmBProductPrice
     * @Description: 查询
     */
    public EmBProductPrice searchEmBProductPrice(EmBProductPrice emBProductPrice) throws DataAccessException;

    /**
     * @Title: searchEmBProductPriceList
     * @Description: 查询列表
     */
    public List<EmBProductPrice> searchEmBProductPriceList(EmBProductPrice emBProductPrice) throws DataAccessException;
}
